package cn.edu.scau.cmi.chenyuesong.composite.consistent;

import java.util.HashSet;
import java.util.Set;

public abstract class ConsistentOrganization {
	

	ConsistentOrganization parent=null;
	Set<ConsistentOrganization> children=new HashSet<ConsistentOrganization>();
	abstract ConsistentOrganization getParent();
	abstract ConsistentOrganization addChild(ConsistentOrganization child);
	abstract ConsistentOrganization deleteChild(ConsistentOrganization child);
	abstract Set<ConsistentOrganization> getChildren();

}